import Vuex from "quickapp-vuex";

export default new Vuex.Store({
    state: {
        count: 1
    },
    getters: {
        count(state) {
            return "getter" + state.count;
        }
    },
    mutations: {
        increment(state) {
            state.count++;
        },
        decrement(state) {
            state.count--;
        }
    }
});